package cn.hengzhu.main_manager.repository.dao;

import cn.hengzhu.main_manager.repository.domain.ManagePermission;
import cn.hengzhu.main_manager.repository.domain.ManagePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ManagePermissionMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(ManagePermissionExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(ManagePermissionExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int insert(ManagePermission record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(ManagePermission record);

    /**
     *
     * @mbg.generated
     */
    List<ManagePermission> selectByExample(ManagePermissionExample example);

    /**
     *
     * @mbg.generated
     */
    ManagePermission selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ManagePermission record, @Param("example") ManagePermissionExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ManagePermission record, @Param("example") ManagePermissionExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ManagePermission record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ManagePermission record);
}